package com.csu.letaobackend.serviceM;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csu.letaobackend.bean.User;
import com.csu.letaobackend.commom.CommonResponse;
import com.csu.letaobackend.vo.UserVO;

public interface UserMService {

      CommonResponse<IPage<UserVO>> getAllUsers(int pageid, int pagesize);

      CommonResponse<IPage<UserVO>> searchUser(String username, int pageid, int pagesize);

      CommonResponse updateAvailable(String username,int available);

      CommonResponse deleteUser(String username);
}
